package com.thinkit.bigdata.web.model.bus;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BusWorkTestExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BusWorkTestExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNull() {
            addCriterion("provinceCode is null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNotNull() {
            addCriterion("provinceCode is not null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeEqualTo(String value) {
            addCriterion("provinceCode =", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotEqualTo(String value) {
            addCriterion("provinceCode <>", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThan(String value) {
            addCriterion("provinceCode >", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThanOrEqualTo(String value) {
            addCriterion("provinceCode >=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThan(String value) {
            addCriterion("provinceCode <", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThanOrEqualTo(String value) {
            addCriterion("provinceCode <=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLike(String value) {
            addCriterion("provinceCode like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotLike(String value) {
            addCriterion("provinceCode not like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIn(List<String> values) {
            addCriterion("provinceCode in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotIn(List<String> values) {
            addCriterion("provinceCode not in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeBetween(String value1, String value2) {
            addCriterion("provinceCode between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotBetween(String value1, String value2) {
            addCriterion("provinceCode not between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andTestworknameIsNull() {
            addCriterion("testWorkName is null");
            return (Criteria) this;
        }

        public Criteria andTestworknameIsNotNull() {
            addCriterion("testWorkName is not null");
            return (Criteria) this;
        }

        public Criteria andTestworknameEqualTo(String value) {
            addCriterion("testWorkName =", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameNotEqualTo(String value) {
            addCriterion("testWorkName <>", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameGreaterThan(String value) {
            addCriterion("testWorkName >", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameGreaterThanOrEqualTo(String value) {
            addCriterion("testWorkName >=", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameLessThan(String value) {
            addCriterion("testWorkName <", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameLessThanOrEqualTo(String value) {
            addCriterion("testWorkName <=", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameLike(String value) {
            addCriterion("testWorkName like", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameNotLike(String value) {
            addCriterion("testWorkName not like", value, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameIn(List<String> values) {
            addCriterion("testWorkName in", values, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameNotIn(List<String> values) {
            addCriterion("testWorkName not in", values, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameBetween(String value1, String value2) {
            addCriterion("testWorkName between", value1, value2, "testworkname");
            return (Criteria) this;
        }

        public Criteria andTestworknameNotBetween(String value1, String value2) {
            addCriterion("testWorkName not between", value1, value2, "testworkname");
            return (Criteria) this;
        }

        public Criteria andProstatusIsNull() {
            addCriterion("proStatus is null");
            return (Criteria) this;
        }

        public Criteria andProstatusIsNotNull() {
            addCriterion("proStatus is not null");
            return (Criteria) this;
        }

        public Criteria andProstatusEqualTo(Integer value) {
            addCriterion("proStatus =", value, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusNotEqualTo(Integer value) {
            addCriterion("proStatus <>", value, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusGreaterThan(Integer value) {
            addCriterion("proStatus >", value, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("proStatus >=", value, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusLessThan(Integer value) {
            addCriterion("proStatus <", value, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusLessThanOrEqualTo(Integer value) {
            addCriterion("proStatus <=", value, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusIn(List<Integer> values) {
            addCriterion("proStatus in", values, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusNotIn(List<Integer> values) {
            addCriterion("proStatus not in", values, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusBetween(Integer value1, Integer value2) {
            addCriterion("proStatus between", value1, value2, "prostatus");
            return (Criteria) this;
        }

        public Criteria andProstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("proStatus not between", value1, value2, "prostatus");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNull() {
            addCriterion("createUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNotNull() {
            addCriterion("createUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridEqualTo(Long value) {
            addCriterion("createUserId =", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotEqualTo(Long value) {
            addCriterion("createUserId <>", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThan(Long value) {
            addCriterion("createUserId >", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThanOrEqualTo(Long value) {
            addCriterion("createUserId >=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThan(Long value) {
            addCriterion("createUserId <", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThanOrEqualTo(Long value) {
            addCriterion("createUserId <=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIn(List<Long> values) {
            addCriterion("createUserId in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotIn(List<Long> values) {
            addCriterion("createUserId not in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridBetween(Long value1, Long value2) {
            addCriterion("createUserId between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotBetween(Long value1, Long value2) {
            addCriterion("createUserId not between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIsNull() {
            addCriterion("lastUpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIsNotNull() {
            addCriterion("lastUpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeEqualTo(Date value) {
            addCriterion("lastUpdateTime =", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotEqualTo(Date value) {
            addCriterion("lastUpdateTime <>", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeGreaterThan(Date value) {
            addCriterion("lastUpdateTime >", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastUpdateTime >=", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeLessThan(Date value) {
            addCriterion("lastUpdateTime <", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("lastUpdateTime <=", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIn(List<Date> values) {
            addCriterion("lastUpdateTime in", values, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotIn(List<Date> values) {
            addCriterion("lastUpdateTime not in", values, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeBetween(Date value1, Date value2) {
            addCriterion("lastUpdateTime between", value1, value2, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("lastUpdateTime not between", value1, value2, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridIsNull() {
            addCriterion("lastUpdateUserId is null");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridIsNotNull() {
            addCriterion("lastUpdateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridEqualTo(Long value) {
            addCriterion("lastUpdateUserId =", value, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridNotEqualTo(Long value) {
            addCriterion("lastUpdateUserId <>", value, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridGreaterThan(Long value) {
            addCriterion("lastUpdateUserId >", value, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridGreaterThanOrEqualTo(Long value) {
            addCriterion("lastUpdateUserId >=", value, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridLessThan(Long value) {
            addCriterion("lastUpdateUserId <", value, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridLessThanOrEqualTo(Long value) {
            addCriterion("lastUpdateUserId <=", value, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridIn(List<Long> values) {
            addCriterion("lastUpdateUserId in", values, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridNotIn(List<Long> values) {
            addCriterion("lastUpdateUserId not in", values, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridBetween(Long value1, Long value2) {
            addCriterion("lastUpdateUserId between", value1, value2, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andLastupdateuseridNotBetween(Long value1, Long value2) {
            addCriterion("lastUpdateUserId not between", value1, value2, "lastupdateuserid");
            return (Criteria) this;
        }

        public Criteria andOnsettimeIsNull() {
            addCriterion("onsetTime is null");
            return (Criteria) this;
        }

        public Criteria andOnsettimeIsNotNull() {
            addCriterion("onsetTime is not null");
            return (Criteria) this;
        }

        public Criteria andOnsettimeEqualTo(Date value) {
            addCriterion("onsetTime =", value, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeNotEqualTo(Date value) {
            addCriterion("onsetTime <>", value, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeGreaterThan(Date value) {
            addCriterion("onsetTime >", value, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeGreaterThanOrEqualTo(Date value) {
            addCriterion("onsetTime >=", value, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeLessThan(Date value) {
            addCriterion("onsetTime <", value, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeLessThanOrEqualTo(Date value) {
            addCriterion("onsetTime <=", value, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeIn(List<Date> values) {
            addCriterion("onsetTime in", values, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeNotIn(List<Date> values) {
            addCriterion("onsetTime not in", values, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeBetween(Date value1, Date value2) {
            addCriterion("onsetTime between", value1, value2, "onsettime");
            return (Criteria) this;
        }

        public Criteria andOnsettimeNotBetween(Date value1, Date value2) {
            addCriterion("onsetTime not between", value1, value2, "onsettime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeIsNull() {
            addCriterion("callStartTime is null");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeIsNotNull() {
            addCriterion("callStartTime is not null");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeEqualTo(Date value) {
            addCriterion("callStartTime =", value, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeNotEqualTo(Date value) {
            addCriterion("callStartTime <>", value, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeGreaterThan(Date value) {
            addCriterion("callStartTime >", value, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("callStartTime >=", value, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeLessThan(Date value) {
            addCriterion("callStartTime <", value, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeLessThanOrEqualTo(Date value) {
            addCriterion("callStartTime <=", value, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeIn(List<Date> values) {
            addCriterion("callStartTime in", values, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeNotIn(List<Date> values) {
            addCriterion("callStartTime not in", values, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeBetween(Date value1, Date value2) {
            addCriterion("callStartTime between", value1, value2, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallstarttimeNotBetween(Date value1, Date value2) {
            addCriterion("callStartTime not between", value1, value2, "callstarttime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeIsNull() {
            addCriterion("callEndTime is null");
            return (Criteria) this;
        }

        public Criteria andCallendtimeIsNotNull() {
            addCriterion("callEndTime is not null");
            return (Criteria) this;
        }

        public Criteria andCallendtimeEqualTo(Date value) {
            addCriterion("callEndTime =", value, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeNotEqualTo(Date value) {
            addCriterion("callEndTime <>", value, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeGreaterThan(Date value) {
            addCriterion("callEndTime >", value, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("callEndTime >=", value, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeLessThan(Date value) {
            addCriterion("callEndTime <", value, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeLessThanOrEqualTo(Date value) {
            addCriterion("callEndTime <=", value, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeIn(List<Date> values) {
            addCriterion("callEndTime in", values, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeNotIn(List<Date> values) {
            addCriterion("callEndTime not in", values, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeBetween(Date value1, Date value2) {
            addCriterion("callEndTime between", value1, value2, "callendtime");
            return (Criteria) this;
        }

        public Criteria andCallendtimeNotBetween(Date value1, Date value2) {
            addCriterion("callEndTime not between", value1, value2, "callendtime");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsIsNull() {
            addCriterion("seatGroupIds is null");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsIsNotNull() {
            addCriterion("seatGroupIds is not null");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsEqualTo(String value) {
            addCriterion("seatGroupIds =", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsNotEqualTo(String value) {
            addCriterion("seatGroupIds <>", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsGreaterThan(String value) {
            addCriterion("seatGroupIds >", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsGreaterThanOrEqualTo(String value) {
            addCriterion("seatGroupIds >=", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsLessThan(String value) {
            addCriterion("seatGroupIds <", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsLessThanOrEqualTo(String value) {
            addCriterion("seatGroupIds <=", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsLike(String value) {
            addCriterion("seatGroupIds like", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsNotLike(String value) {
            addCriterion("seatGroupIds not like", value, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsIn(List<String> values) {
            addCriterion("seatGroupIds in", values, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsNotIn(List<String> values) {
            addCriterion("seatGroupIds not in", values, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsBetween(String value1, String value2) {
            addCriterion("seatGroupIds between", value1, value2, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatgroupidsNotBetween(String value1, String value2) {
            addCriterion("seatGroupIds not between", value1, value2, "seatgroupids");
            return (Criteria) this;
        }

        public Criteria andSeatidsIsNull() {
            addCriterion("seatIds is null");
            return (Criteria) this;
        }

        public Criteria andSeatidsIsNotNull() {
            addCriterion("seatIds is not null");
            return (Criteria) this;
        }

        public Criteria andSeatidsEqualTo(String value) {
            addCriterion("seatIds =", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsNotEqualTo(String value) {
            addCriterion("seatIds <>", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsGreaterThan(String value) {
            addCriterion("seatIds >", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsGreaterThanOrEqualTo(String value) {
            addCriterion("seatIds >=", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsLessThan(String value) {
            addCriterion("seatIds <", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsLessThanOrEqualTo(String value) {
            addCriterion("seatIds <=", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsLike(String value) {
            addCriterion("seatIds like", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsNotLike(String value) {
            addCriterion("seatIds not like", value, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsIn(List<String> values) {
            addCriterion("seatIds in", values, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsNotIn(List<String> values) {
            addCriterion("seatIds not in", values, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsBetween(String value1, String value2) {
            addCriterion("seatIds between", value1, value2, "seatids");
            return (Criteria) this;
        }

        public Criteria andSeatidsNotBetween(String value1, String value2) {
            addCriterion("seatIds not between", value1, value2, "seatids");
            return (Criteria) this;
        }

        public Criteria andMindurationIsNull() {
            addCriterion("minDuration is null");
            return (Criteria) this;
        }

        public Criteria andMindurationIsNotNull() {
            addCriterion("minDuration is not null");
            return (Criteria) this;
        }

        public Criteria andMindurationEqualTo(Double value) {
            addCriterion("minDuration =", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationNotEqualTo(Double value) {
            addCriterion("minDuration <>", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationGreaterThan(Double value) {
            addCriterion("minDuration >", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationGreaterThanOrEqualTo(Double value) {
            addCriterion("minDuration >=", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationLessThan(Double value) {
            addCriterion("minDuration <", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationLessThanOrEqualTo(Double value) {
            addCriterion("minDuration <=", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationIn(List<Double> values) {
            addCriterion("minDuration in", values, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationNotIn(List<Double> values) {
            addCriterion("minDuration not in", values, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationBetween(Double value1, Double value2) {
            addCriterion("minDuration between", value1, value2, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationNotBetween(Double value1, Double value2) {
            addCriterion("minDuration not between", value1, value2, "minduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationIsNull() {
            addCriterion("maxDuration is null");
            return (Criteria) this;
        }

        public Criteria andMaxdurationIsNotNull() {
            addCriterion("maxDuration is not null");
            return (Criteria) this;
        }

        public Criteria andMaxdurationEqualTo(Double value) {
            addCriterion("maxDuration =", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationNotEqualTo(Double value) {
            addCriterion("maxDuration <>", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationGreaterThan(Double value) {
            addCriterion("maxDuration >", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationGreaterThanOrEqualTo(Double value) {
            addCriterion("maxDuration >=", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationLessThan(Double value) {
            addCriterion("maxDuration <", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationLessThanOrEqualTo(Double value) {
            addCriterion("maxDuration <=", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationIn(List<Double> values) {
            addCriterion("maxDuration in", values, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationNotIn(List<Double> values) {
            addCriterion("maxDuration not in", values, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationBetween(Double value1, Double value2) {
            addCriterion("maxDuration between", value1, value2, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationNotBetween(Double value1, Double value2) {
            addCriterion("maxDuration not between", value1, value2, "maxduration");
            return (Criteria) this;
        }

        public Criteria andOnhooksIsNull() {
            addCriterion("onHooks is null");
            return (Criteria) this;
        }

        public Criteria andOnhooksIsNotNull() {
            addCriterion("onHooks is not null");
            return (Criteria) this;
        }

        public Criteria andOnhooksEqualTo(String value) {
            addCriterion("onHooks =", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksNotEqualTo(String value) {
            addCriterion("onHooks <>", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksGreaterThan(String value) {
            addCriterion("onHooks >", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksGreaterThanOrEqualTo(String value) {
            addCriterion("onHooks >=", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksLessThan(String value) {
            addCriterion("onHooks <", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksLessThanOrEqualTo(String value) {
            addCriterion("onHooks <=", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksLike(String value) {
            addCriterion("onHooks like", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksNotLike(String value) {
            addCriterion("onHooks not like", value, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksIn(List<String> values) {
            addCriterion("onHooks in", values, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksNotIn(List<String> values) {
            addCriterion("onHooks not in", values, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksBetween(String value1, String value2) {
            addCriterion("onHooks between", value1, value2, "onhooks");
            return (Criteria) this;
        }

        public Criteria andOnhooksNotBetween(String value1, String value2) {
            addCriterion("onHooks not between", value1, value2, "onhooks");
            return (Criteria) this;
        }

        public Criteria andCustomernumsIsNull() {
            addCriterion("customerNums is null");
            return (Criteria) this;
        }

        public Criteria andCustomernumsIsNotNull() {
            addCriterion("customerNums is not null");
            return (Criteria) this;
        }

        public Criteria andCustomernumsEqualTo(String value) {
            addCriterion("customerNums =", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsNotEqualTo(String value) {
            addCriterion("customerNums <>", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsGreaterThan(String value) {
            addCriterion("customerNums >", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsGreaterThanOrEqualTo(String value) {
            addCriterion("customerNums >=", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsLessThan(String value) {
            addCriterion("customerNums <", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsLessThanOrEqualTo(String value) {
            addCriterion("customerNums <=", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsLike(String value) {
            addCriterion("customerNums like", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsNotLike(String value) {
            addCriterion("customerNums not like", value, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsIn(List<String> values) {
            addCriterion("customerNums in", values, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsNotIn(List<String> values) {
            addCriterion("customerNums not in", values, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsBetween(String value1, String value2) {
            addCriterion("customerNums between", value1, value2, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomernumsNotBetween(String value1, String value2) {
            addCriterion("customerNums not between", value1, value2, "customernums");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsIsNull() {
            addCriterion("customerLevels is null");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsIsNotNull() {
            addCriterion("customerLevels is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsEqualTo(String value) {
            addCriterion("customerLevels =", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsNotEqualTo(String value) {
            addCriterion("customerLevels <>", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsGreaterThan(String value) {
            addCriterion("customerLevels >", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsGreaterThanOrEqualTo(String value) {
            addCriterion("customerLevels >=", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsLessThan(String value) {
            addCriterion("customerLevels <", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsLessThanOrEqualTo(String value) {
            addCriterion("customerLevels <=", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsLike(String value) {
            addCriterion("customerLevels like", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsNotLike(String value) {
            addCriterion("customerLevels not like", value, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsIn(List<String> values) {
            addCriterion("customerLevels in", values, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsNotIn(List<String> values) {
            addCriterion("customerLevels not in", values, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsBetween(String value1, String value2) {
            addCriterion("customerLevels between", value1, value2, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andCustomerlevelsNotBetween(String value1, String value2) {
            addCriterion("customerLevels not between", value1, value2, "customerlevels");
            return (Criteria) this;
        }

        public Criteria andSatisfactionIsNull() {
            addCriterion("satisfaction is null");
            return (Criteria) this;
        }

        public Criteria andSatisfactionIsNotNull() {
            addCriterion("satisfaction is not null");
            return (Criteria) this;
        }

        public Criteria andSatisfactionEqualTo(String value) {
            addCriterion("satisfaction =", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotEqualTo(String value) {
            addCriterion("satisfaction <>", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionGreaterThan(String value) {
            addCriterion("satisfaction >", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionGreaterThanOrEqualTo(String value) {
            addCriterion("satisfaction >=", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionLessThan(String value) {
            addCriterion("satisfaction <", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionLessThanOrEqualTo(String value) {
            addCriterion("satisfaction <=", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionLike(String value) {
            addCriterion("satisfaction like", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotLike(String value) {
            addCriterion("satisfaction not like", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionIn(List<String> values) {
            addCriterion("satisfaction in", values, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotIn(List<String> values) {
            addCriterion("satisfaction not in", values, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionBetween(String value1, String value2) {
            addCriterion("satisfaction between", value1, value2, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotBetween(String value1, String value2) {
            addCriterion("satisfaction not between", value1, value2, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersIsNull() {
            addCriterion("serialNumbers is null");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersIsNotNull() {
            addCriterion("serialNumbers is not null");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersEqualTo(String value) {
            addCriterion("serialNumbers =", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersNotEqualTo(String value) {
            addCriterion("serialNumbers <>", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersGreaterThan(String value) {
            addCriterion("serialNumbers >", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersGreaterThanOrEqualTo(String value) {
            addCriterion("serialNumbers >=", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersLessThan(String value) {
            addCriterion("serialNumbers <", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersLessThanOrEqualTo(String value) {
            addCriterion("serialNumbers <=", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersLike(String value) {
            addCriterion("serialNumbers like", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersNotLike(String value) {
            addCriterion("serialNumbers not like", value, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersIn(List<String> values) {
            addCriterion("serialNumbers in", values, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersNotIn(List<String> values) {
            addCriterion("serialNumbers not in", values, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersBetween(String value1, String value2) {
            addCriterion("serialNumbers between", value1, value2, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andSerialnumbersNotBetween(String value1, String value2) {
            addCriterion("serialNumbers not between", value1, value2, "serialnumbers");
            return (Criteria) this;
        }

        public Criteria andMaxitemsIsNull() {
            addCriterion("maxItems is null");
            return (Criteria) this;
        }

        public Criteria andMaxitemsIsNotNull() {
            addCriterion("maxItems is not null");
            return (Criteria) this;
        }

        public Criteria andMaxitemsEqualTo(Integer value) {
            addCriterion("maxItems =", value, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsNotEqualTo(Integer value) {
            addCriterion("maxItems <>", value, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsGreaterThan(Integer value) {
            addCriterion("maxItems >", value, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsGreaterThanOrEqualTo(Integer value) {
            addCriterion("maxItems >=", value, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsLessThan(Integer value) {
            addCriterion("maxItems <", value, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsLessThanOrEqualTo(Integer value) {
            addCriterion("maxItems <=", value, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsIn(List<Integer> values) {
            addCriterion("maxItems in", values, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsNotIn(List<Integer> values) {
            addCriterion("maxItems not in", values, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsBetween(Integer value1, Integer value2) {
            addCriterion("maxItems between", value1, value2, "maxitems");
            return (Criteria) this;
        }

        public Criteria andMaxitemsNotBetween(Integer value1, Integer value2) {
            addCriterion("maxItems not between", value1, value2, "maxitems");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidIsNull() {
            addCriterion("inspectionGroupId is null");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidIsNotNull() {
            addCriterion("inspectionGroupId is not null");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidEqualTo(Long value) {
            addCriterion("inspectionGroupId =", value, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidNotEqualTo(Long value) {
            addCriterion("inspectionGroupId <>", value, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidGreaterThan(Long value) {
            addCriterion("inspectionGroupId >", value, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidGreaterThanOrEqualTo(Long value) {
            addCriterion("inspectionGroupId >=", value, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidLessThan(Long value) {
            addCriterion("inspectionGroupId <", value, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidLessThanOrEqualTo(Long value) {
            addCriterion("inspectionGroupId <=", value, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidIn(List<Long> values) {
            addCriterion("inspectionGroupId in", values, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidNotIn(List<Long> values) {
            addCriterion("inspectionGroupId not in", values, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidBetween(Long value1, Long value2) {
            addCriterion("inspectionGroupId between", value1, value2, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectiongroupidNotBetween(Long value1, Long value2) {
            addCriterion("inspectionGroupId not between", value1, value2, "inspectiongroupid");
            return (Criteria) this;
        }

        public Criteria andInspectoridIsNull() {
            addCriterion("inspectorId is null");
            return (Criteria) this;
        }

        public Criteria andInspectoridIsNotNull() {
            addCriterion("inspectorId is not null");
            return (Criteria) this;
        }

        public Criteria andInspectoridEqualTo(Long value) {
            addCriterion("inspectorId =", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridNotEqualTo(Long value) {
            addCriterion("inspectorId <>", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridGreaterThan(Long value) {
            addCriterion("inspectorId >", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridGreaterThanOrEqualTo(Long value) {
            addCriterion("inspectorId >=", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridLessThan(Long value) {
            addCriterion("inspectorId <", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridLessThanOrEqualTo(Long value) {
            addCriterion("inspectorId <=", value, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridIn(List<Long> values) {
            addCriterion("inspectorId in", values, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridNotIn(List<Long> values) {
            addCriterion("inspectorId not in", values, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridBetween(Long value1, Long value2) {
            addCriterion("inspectorId between", value1, value2, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andInspectoridNotBetween(Long value1, Long value2) {
            addCriterion("inspectorId not between", value1, value2, "inspectorid");
            return (Criteria) this;
        }

        public Criteria andTotalnumberIsNull() {
            addCriterion("totalNumber is null");
            return (Criteria) this;
        }

        public Criteria andTotalnumberIsNotNull() {
            addCriterion("totalNumber is not null");
            return (Criteria) this;
        }

        public Criteria andTotalnumberEqualTo(Integer value) {
            addCriterion("totalNumber =", value, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberNotEqualTo(Integer value) {
            addCriterion("totalNumber <>", value, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberGreaterThan(Integer value) {
            addCriterion("totalNumber >", value, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("totalNumber >=", value, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberLessThan(Integer value) {
            addCriterion("totalNumber <", value, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberLessThanOrEqualTo(Integer value) {
            addCriterion("totalNumber <=", value, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberIn(List<Integer> values) {
            addCriterion("totalNumber in", values, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberNotIn(List<Integer> values) {
            addCriterion("totalNumber not in", values, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberBetween(Integer value1, Integer value2) {
            addCriterion("totalNumber between", value1, value2, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andTotalnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("totalNumber not between", value1, value2, "totalnumber");
            return (Criteria) this;
        }

        public Criteria andProcessedIsNull() {
            addCriterion("processed is null");
            return (Criteria) this;
        }

        public Criteria andProcessedIsNotNull() {
            addCriterion("processed is not null");
            return (Criteria) this;
        }

        public Criteria andProcessedEqualTo(Integer value) {
            addCriterion("processed =", value, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedNotEqualTo(Integer value) {
            addCriterion("processed <>", value, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedGreaterThan(Integer value) {
            addCriterion("processed >", value, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedGreaterThanOrEqualTo(Integer value) {
            addCriterion("processed >=", value, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedLessThan(Integer value) {
            addCriterion("processed <", value, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedLessThanOrEqualTo(Integer value) {
            addCriterion("processed <=", value, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedIn(List<Integer> values) {
            addCriterion("processed in", values, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedNotIn(List<Integer> values) {
            addCriterion("processed not in", values, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedBetween(Integer value1, Integer value2) {
            addCriterion("processed between", value1, value2, "processed");
            return (Criteria) this;
        }

        public Criteria andProcessedNotBetween(Integer value1, Integer value2) {
            addCriterion("processed not between", value1, value2, "processed");
            return (Criteria) this;
        }

        public Criteria andRecallflagIsNull() {
            addCriterion("reCallFlag is null");
            return (Criteria) this;
        }

        public Criteria andRecallflagIsNotNull() {
            addCriterion("reCallFlag is not null");
            return (Criteria) this;
        }

        public Criteria andRecallflagEqualTo(Integer value) {
            addCriterion("reCallFlag =", value, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagNotEqualTo(Integer value) {
            addCriterion("reCallFlag <>", value, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagGreaterThan(Integer value) {
            addCriterion("reCallFlag >", value, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagGreaterThanOrEqualTo(Integer value) {
            addCriterion("reCallFlag >=", value, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagLessThan(Integer value) {
            addCriterion("reCallFlag <", value, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagLessThanOrEqualTo(Integer value) {
            addCriterion("reCallFlag <=", value, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagIn(List<Integer> values) {
            addCriterion("reCallFlag in", values, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagNotIn(List<Integer> values) {
            addCriterion("reCallFlag not in", values, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagBetween(Integer value1, Integer value2) {
            addCriterion("reCallFlag between", value1, value2, "recallflag");
            return (Criteria) this;
        }

        public Criteria andRecallflagNotBetween(Integer value1, Integer value2) {
            addCriterion("reCallFlag not between", value1, value2, "recallflag");
            return (Criteria) this;
        }

        public Criteria andCustomersignIsNull() {
            addCriterion("customerSign is null");
            return (Criteria) this;
        }

        public Criteria andCustomersignIsNotNull() {
            addCriterion("customerSign is not null");
            return (Criteria) this;
        }

        public Criteria andCustomersignEqualTo(Integer value) {
            addCriterion("customerSign =", value, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignNotEqualTo(Integer value) {
            addCriterion("customerSign <>", value, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignGreaterThan(Integer value) {
            addCriterion("customerSign >", value, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignGreaterThanOrEqualTo(Integer value) {
            addCriterion("customerSign >=", value, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignLessThan(Integer value) {
            addCriterion("customerSign <", value, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignLessThanOrEqualTo(Integer value) {
            addCriterion("customerSign <=", value, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignIn(List<Integer> values) {
            addCriterion("customerSign in", values, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignNotIn(List<Integer> values) {
            addCriterion("customerSign not in", values, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignBetween(Integer value1, Integer value2) {
            addCriterion("customerSign between", value1, value2, "customersign");
            return (Criteria) this;
        }

        public Criteria andCustomersignNotBetween(Integer value1, Integer value2) {
            addCriterion("customerSign not between", value1, value2, "customersign");
            return (Criteria) this;
        }

        public Criteria andCalldirectionIsNull() {
            addCriterion("callDirection is null");
            return (Criteria) this;
        }

        public Criteria andCalldirectionIsNotNull() {
            addCriterion("callDirection is not null");
            return (Criteria) this;
        }

        public Criteria andCalldirectionEqualTo(Integer value) {
            addCriterion("callDirection =", value, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionNotEqualTo(Integer value) {
            addCriterion("callDirection <>", value, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionGreaterThan(Integer value) {
            addCriterion("callDirection >", value, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionGreaterThanOrEqualTo(Integer value) {
            addCriterion("callDirection >=", value, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionLessThan(Integer value) {
            addCriterion("callDirection <", value, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionLessThanOrEqualTo(Integer value) {
            addCriterion("callDirection <=", value, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionIn(List<Integer> values) {
            addCriterion("callDirection in", values, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionNotIn(List<Integer> values) {
            addCriterion("callDirection not in", values, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionBetween(Integer value1, Integer value2) {
            addCriterion("callDirection between", value1, value2, "calldirection");
            return (Criteria) this;
        }

        public Criteria andCalldirectionNotBetween(Integer value1, Integer value2) {
            addCriterion("callDirection not between", value1, value2, "calldirection");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}